package com.sw.study.springbootstudy.mapper;

import com.sw.study.springbootstudy.pojo.Article;

import java.util.List;

/**
 * @author sw
 * @project springboot-study
 * @description
 * @date 2020/4/22 10:17
 */
public interface ArticleMapper {
    public List<Article> queryArticles();

    Article selectById(Integer id);

    void upadteArticle(Article article);

    void deleteArticle(Integer id);
}
